using System.Collections.Generic;
using Managistics.Model;
using Managistics.Model.ValueObject;
using System;

namespace Managistics.Core.Services
{
    public interface IEnterInputSheetService
    {       
        string saveInputSheet(ViewEnterInputSheetParam p);
    }

    ///
    /// =======================================================================================
    /// Result objects
    /// =======================================================================================
    ///
    # region Result objects
    public class InputSheetDetailVO
    {
        public Good Good { get; set; }
        public string GoodCode { get; set; }
        public string GoodName { get; set; }
        public string Unit { get; set; }
        public float Quantity { get; set; }
    }

    # endregion

    ///
    /// =======================================================================================
    /// Object parameters
    /// =======================================================================================
    ///
    # region Object parameter
    public class ViewEnterInputSheetParam
    {
        public string InputSheetId { get; set; }
        public CfgInputSheetType InputSheetType { get; set; }
        public Supplier Supplier { get; set; }
        public Customer Customer { get; set; }
        public DateTime inputDate { get; set; }
        public string Deliver { get; set; }
        public string Receiver { get; set; }
        public string Department { get; set; }
        public string Description { get; set; }
        public List<InputSheetDetailVO> listDetail { get; set; }
    }
   
    # endregion
}